/**
 * 
 */
package com.jquery.ui.tags.beans.script;


import java.util.Date;
import java.util.Map;

import com.jquery.ui.core.bean.UIBean;
import com.jquery.ui.dictionary.IPositionEnum;

/**
 * @author linyajun
 * 
 * @date	2013-9-24
 * @description   
 */
public class TabsScriptUI extends UIBean {

	
	/**
	 * 
	 */
	private static final long serialVersionUID = 9191218087968788035L;
	
	private Boolean collapsible=false;
	private Boolean sortable=false;
	private IPositionEnum menuPosition;
	private static String uuId;
	
	static{
		if (uuId==null) {
			uuId=((new Date().getTime())+"").replace(",", "");
		}
	}

	@Override
	public void putAttribute(Map<String, Object> attribute) {
		getUuId();
		attribute.put("UUID",uuId);
		attribute.put("collapsible", collapsible);
		attribute.put("sortable", sortable);
		attribute.put("menuPosition", menuPosition);

	}

	/**
	 * @return the uuId
	 */
	public String getUuId() {
		
		return uuId;
	}

	/**
	 * @return the collapsible
	 */
	public Boolean getCollapsible() {
		return collapsible;
	}

	/**
	 * @param collapsible the collapsible to set
	 */
	public void setCollapsible(Boolean collapsible) {
		this.collapsible = collapsible;
	}

	/**
	 * @return the sortable
	 */
	public Boolean getSortable() {
		return sortable;
	}

	/**
	 * @param sortable the sortable to set
	 */
	public void setSortable(Boolean sortable) {
		this.sortable = sortable;
	}

	/**
	 * @return the menuPosition
	 */
	public IPositionEnum getMenuPosition() {
		return menuPosition;
	}

	/**
	 * @param menuPosition the menuPosition to set
	 */
	public void setMenuPosition(IPositionEnum menuPosition) {
		this.menuPosition = menuPosition;
	}

	
	
	

}
